/*
 * phase2test.c
 *
 *  Created on: Feb 24, 2013
 *      Author: Ian Smith, Travis Drake
 */

#include <stdlib.h>
#include "debugger.h"
#include "display.h"

int main(void)
{
	display_init();

	MemoryPtr memory = Memory_newMemory();
	CpuPtr cpu = cpu_new_cpu(memory);

	DebuggerPtr debugger = new_debugger(cpu);
	debugger_main_loop(debugger);

	display_free();

	return EXIT_SUCCESS;
}
